//
//  AVUser+MCCustomUser.m
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/28.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import "AVUser+MCCustomUser.h"

@implementation AVUser (MCCustomUser)
-(AVFile*)avatar{
    return [self objectForKey:KEY_AVATAR];
}

-(void)setAvatar:(AVFile*)avatar{
    [self setObject:avatar forKey:KEY_AVATAR];
}

-(NSString*)avatarUrl{
    return [self avatar].url;
}
@end
